import Request from '@/axios/request'

export function getWorshipAlbums(params) {
  return Request.get('worship-albums', { params })
}

export function createWorshipAlbum() {
  return Request.get('worship-albums/create')
}

export function storeWorshipAlbum(data) {
  return Request.post('worship-albums', data)
}

export function updateWorshipAlbum(id, data) {
  return Request.put(`worship-albums/${id}`, data)
}

export function editWorshipAlbum(id) {
  return Request.get(`worship-albums/${id}/edit`)
}

export function destroyWorshipAlbum(id) {
  return Request.delete(`worship-albums/${id}`)
}

export function showWorshipAlbum(id) {
  return Request.get(`worship-albums/${id}`)
}
